package com.guoyansoft.model.pojo;

import java.io.Serializable;

/**
 * @author 常利军
 * 用户实体
 */
public class Customer implements Serializable {
    //主键
    private Integer id;
    //电话号码
    private String phone;
    //密码
    private String pass;
    //用户名称
    private String name;
    //订购电话
    private String orderPhone;
    //客户星级
    private CustomerStar customerStar;
    //月度用量
    private Integer monthUsage;
    //备注
    private String remark;

    public Customer() {
    }

    public Customer(Integer id) {
        this.id = id;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOrderPhone() {
        return orderPhone;
    }

    public void setOrderPhone(String orderPhone) {
        this.orderPhone = orderPhone;
    }

    public CustomerStar getCustomerStar() {
        return customerStar;
    }

    public void setCustomerStar(CustomerStar customerStar) {
        this.customerStar = customerStar;
    }

    public Integer getMonthUsage() {
        return monthUsage;
    }

    public void setMonthUsage(Integer monthUsage) {
        this.monthUsage = monthUsage;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "id=" + id +
                ", phone='" + phone + '\'' +
                ", pass='" + pass + '\'' +
                ", name='" + name + '\'' +
                ", orderPhone='" + orderPhone + '\'' +
                ", customerStar=" + customerStar +
                ", monthUsage=" + monthUsage +
                ", remark='" + remark + '\'' +
                '}';
    }
}
